package c.b.a.c.a.g;

import java.util.concurrent.Executor;

final class m<ResultT> implements n<ResultT> {

    /* renamed from: a  reason: collision with root package name */
    private final Executor f2003a;
    /* access modifiers changed from: private */

    /* renamed from: b  reason: collision with root package name */
    public final Object f2004b = new Object();
    /* access modifiers changed from: private */

    /* renamed from: c  reason: collision with root package name */
    public final c<? super ResultT> f2005c;

    public m(Executor executor, c<? super ResultT> cVar) {
        this.f2003a = executor;
        this.f2005c = cVar;
    }

    public final void a(e<ResultT> eVar) {
        if (eVar.g()) {
            synchronized (this.f2004b) {
                if (this.f2005c != null) {
                    this.f2003a.execute(new l(this, eVar));
                }
            }
        }
    }
}
